﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Mmht.DB;

namespace Mmht.BT
{
   public class MessageBT
    {
       MessageDB mdb = new MessageDB();

       public DataTable FindMessage() 
       {
           return mdb.FindMessage();
       }
       public bool InsertText(string text,string type,string created_by) 
       {
           return mdb.InsertText(text,type,created_by );
       }
       public bool DelMessage(int id) 
       {
           return mdb.DelMessage(id);
       }
       public bool DelAllMessage()
       {
           return mdb.DelAllMessage();
       }
    }
}
